package com.sali.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @description:
 * @author: sali
 * @date: 2025/2/21 下午10:51.
 * @version: 1.0
 */
@Component
@ConfigurationProperties(prefix = "mock-config")
@Data
public class MockConfig {

    private boolean isEnable;

    private String serverIp;

    private Integer serverPort;

    private String filePath;

    // 最大生产数据条数
    private Integer maxCount;

    // 待生产数据总数
    private Integer count;

    // 生产数据总数对应的批次
    private Integer dbSplitSize;

}
